/**
 * 查询列表
 */
export const useLoadChuanYuanDiaoPeiApi = (body)=>{
    return useHttpPost("/chuanyuandiaopei/list",{body})
}


/**
 * 上船
 */
export const useLoadChuanYuanDiaoPeiSCApi = (body)=>{
    return useHttpPost("/chuanyuandiaopei/shangchuan",{body})
}

/**
 * 下船
 */
export const useLoadChuanYuanDiaoPeiXCApi = (body)=>{
    return useHttpPost("/chuanyuandiaopei/xiaChuan",{body})
}


/**
 * 保存和更新 接替
 */
export const useSaveUpdateChuanYuanDiaoPeiJTApi = (body)=>{
    return useHttpPost("/chuanyuandiaopei/saveupdatejieti",{body})
}


/**
 * 根据id查询接替数据
 */
export const useGetChuanYuanDiaoPeiJTApi = (id)=>{
    return useHttpPost("/chuanyuandiaopei/getJieTiXiangQing/"+id,{})
}


/**
 * 根据id删除接替数据
 */
export const useDelChuanYuanDiaoPeiJTApi = (id)=>{
    return useHttpPost("/chuanyuandiaopei/delJieTi/"+id,{})
}


/**
 * 根据id查询调配数据
 */
export const useGetChuanYuanDiaoPeiApi = (id)=>{
    return useHttpPost("/chuanyuandiaopei/get/"+id,{})
}
